//
//  newTweet.h
//  weibo3
//
//  Created by Tian Wu on 11-4-15.
//  Copyright 2011年 nfsysu. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "RootViewController.h"
#import "emotionViewController.h"
#import "WComment.h"

@class RootViewController;
@class emotionViewController;

@interface newTweet : NSWindowController {

    IBOutlet NSTextView *text;
    IBOutlet NSTextField *path;
    IBOutlet NSButton *sendButton;
    
    IBOutlet NSButton *emotionButton;
    
    IBOutlet RootViewController * _rootViewController;
    emotionViewController * emotionView;
    
    NSString *imgURL;
    
    Status *retweeted;
    WComment *replyTo;
    
}

@property (readwrite,retain) NSString *imgURL;
@property (readwrite,retain) Status *retweeted;
@property (readwrite,retain) WComment *replyTo;

- (BOOL)edit:(Status *)startingValues from:(id)sender;
- (BOOL)didReplyToComment:(WComment *)startingValues from:(id)sender;

- (IBAction) selectImg:(id) sender;
- (IBAction) sendIt:(id) sender;
- (IBAction) cancel:(id) sender;

@end
